package fr.generali.sas.service.provider;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.jdbc.core.simple.SimpleJdbcTemplate;

public abstract class DBSequenceProvider implements SequenceProvider {
	
	@Autowired
	SimpleJdbcTemplate jdbcTemplate;
	
	@Value("${sequenceProvider.database.sequenceName}")
	String sequenceName;

	public abstract int getNextSequenceNumber() ;

	public int getCurrentSequenceNumber() {
		return 0;
	}

}
